Mollie\WooCommerce\Buttons\ApplePayButton\AppleAjaxRequests A

Total Complexity 60
Dependencies 13
Dependents 2
Total lines 469
Lines of code 287
Logical lines of code 208
Comment lines 150
Methods 22
Properties 7

Methods 22

Method Rating Maintainability Complexity Lines of code
calculateTotalsSingleProduct()
A
46 8 39
updateShippingContact()
A
49 7 32
cartCalculationResults()
S
56 6 14
calculateTotalsCartPage()
S
52 5 25
cartShippingMethods()
S
55 5 18
validateMerchant()
S
52 3 24
responseAfterSuccessfulResult()
S
57 3 15
updateShippingMethod()
S
61 3 13
createWcOrder()
S
58 2 15
whichCalculateTotals()
S
65 3 9
addAddressesToOrder()
S
61 2 12
reloadCart()
S
73 2 5
emptyCurrentCart()
S
70 2 6
getShippingPackages()
S
60 1 13
bootstrapAjaxRequest()
S
60 1 12
validationApiWalletsEndpointCall()
S
79 1 3
__construct()
S
69 1 7
isNonceValid()
S
74 1 4
createWCCountries()
S
80 1 3
applePayDataObjectHttp()
S
78 1 3
createWcOrderFromCart()
S
69 1 7
customerAddress()
S
66 1 8